package pers.cj.pdos.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pers.cj.pdos.cache.CacheData;
import pers.cj.pdos.cache.CacheRemove;
import pers.cj.pdos.cache.CacheRemoveMore;
import pers.cj.pdos.entity.AttrName;
import pers.cj.pdos.entity.ProfitsReport;
import pers.cj.pdos.mapper.AttrNameMapper;
import pers.cj.pdos.mapper.ProfitsReportMapper;
import pers.cj.pdos.service.IAttrNameService;
import pers.cj.pdos.service.IProfitsReportService;
import pers.cj.pdos.vo.AttrNameVo;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author chenj
 * @since 2019-11-04
 */
@Service
public class ProfitsReportServiceImpl extends ServiceImpl<ProfitsReportMapper, ProfitsReport> implements IProfitsReportService {
    @Autowired
    ProfitsReportMapper profitsReportMapper;

    @Override
    public List<ProfitsReport> profitsData(String companyId, Date date1, Date date2, String storeId) {
        return profitsReportMapper.profitsData(companyId, date1, date2, storeId);
    }
}
